package com.atguigu.gulimall.member.service;

import com.atguigu.gulimall.member.vo.MemberUserLoginInfoVo;
import com.atguigu.gulimall.member.vo.MemberUserRegisterVo;
import com.atguigu.gulimall.member.vo.SocialUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.member.entity.MemberEntity;

import java.util.Map;

/**
 * ??Ա
 *
 * @author wuyijun
 * @email 983665697@qq.com
 * @date 2021-11-29 13:14:20
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void regsiter(MemberUserRegisterVo memberUserRegisterVo);
    void checkUsername(String userName);
    void checkPhone(String phone);

    MemberEntity loginCheck(MemberUserLoginInfoVo userLoginInfoVo);

    MemberEntity login(SocialUser socialUser) throws Exception;
}

